import './style.css'
import App from './App.vue'
import { createApp } from 'vue'
import router from './router/index'
import 'element-plus/dist/index.css'
import * as ElIcons from '@element-plus/icons-vue' //element plus图标
import { createPinia } from 'pinia'

const pinia = createPinia()
const app = createApp(App)

// 全局注册element-plus图标
for (const name in ElIcons) {
  app.component(name, (ElIcons as any)[name]);
}


app.use(router).use(pinia).mount('#app')
